#define _CRT_SECURE_NO_WARNINGS 1
int Fibonacci(int n) {
    int a = 1;
    int b = 1;
    int c = 1;
    int i = 0;
    for (i = 3; i <= n; i++)
    {
        c = a + b;
        a = b;
        b = c;
    }
    return c;
}
